IF (select count(0) from sysobjects WHERE type = 'U' AND name = 'dbo.src_base_calculo_risco')>0
BEGIN
	print 'dropping dbo.src_base_calculo_risco'
	DROP  Table dbo.src_base_calculo_risco
END
print 'creating dbo.src_base_calculo_risco'
GO

CREATE TABLE dbo.src_base_calculo_risco
(
	 CD_BASE_CALCULO	CHAR(1)
	,DS_BASE_CALCULO	VARCHAR(30)   

)
GO

GRANT SELECT ON dbo.src_base_calculo_risco TO mainuser, viewuser

GO